﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Skyworth.CRM.Service.Entity
{
    public class BaseEntity
    {
        private DateTime? _createtime = DateTime.Now;
        private DateTime? _lastmodifytime = DateTime.Now;
        private string _creator = string.Empty;
        private string _lastUpdater = string.Empty;



        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }

        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime? LastModifyTime
        {
            set { _lastmodifytime = value; }
            get { return _lastmodifytime; }
        }

        public string Creator
        {
            get { return _creator; }
            set { _creator = value; }
        }

        public string LastUpdater
        {
            get { return _lastUpdater; }
            set { _lastUpdater = value; }
        }
    }
}
